{extends file="template.tpl"}
{* STYLE SHEETS *}
{block name=css}<link rel="stylesheet" href="css/frontpage.css" type="text/css" />{/block}

{* CONTENT *}
{block name=content}
	<div style="text-align:left;padding:15px;background-color:#EAF0FA;">
                <h1>Order page</h1> 
					<a href="order.php"><img alt="Nederlands" src="images/nlvlag.png" align="right" style="margin-left:15px" /></a>
					<a href="order_en.php"><img alt="English" src="images/envlag.png" align="right" /></a>
                <h2>You can place your order here</h2>
                <form method="POST">
                    {validate id="fname" message="<p style='color:red'>Please insert a name</p>"}
                    <p class="orderFieldDescription">Name:</p><input type="text" name="name" class="orderField" value="{$name}"/><br />
                    <p class="orderFieldDescription">Duty:</p><input type="text" name="function" class="orderField" value="{$function}"/><br />
                    <p class="orderFieldDescription">Company name:</p><input type="text" name="companyName" class="orderField" value="{$companyName}"/><br />
                    {validate id="femail" message="<p style='color:red'>Invalid mail address</p>"}
                    <p class="orderFieldDescription">E-mail:</p><input type="text" name="email" class="orderField" value="{$email}"/><br />
                    {validate id="fphonenumber" message="<p style='color:red'>Invalid phone number</p>"}
                    <p class="orderFieldDescription">Phone number:</p><input type="text" name="phoneNumber" class="orderField" value="{$phoneNumber}"/><br />
                    <p>Request:</p>
                    {validate id="fdescription" message="<p style='color:red'>Please insert a request</p>"}
                    <textarea name="description" style="width:75%;height:300px;" >{$description|escape}</textarea><br />
                    <input type="submit" value="Send" />
                </form>
	</div>
{/block}
